package main

import (
	"log/slog"

	"lsp-server/config"
	"lsp-server/internal/server"
)

func main() {
	cfg, err := config.LoadConfig()
	if err != nil {
		slog.Error("cannot load config:", err)
	}

	s := server.NewServer()
	s.Run(cfg.AppPort)
}
